/**
 * Created by gemini on 2017/4/21.
 */
myApp.controller('memberdetailCtrl',function ($scope,$cookieStore,$stateParams,memberService) {
    
    $scope.member_id = $stateParams.member_id;
    console.log($scope.member_id);

    memberService.memberDetail($scope.member_id,function (data) {
        if(!data.errno == 0){
            alert(data.errmsg);
        }else{
            $scope.member = data.data;
        }
    })
});